#ifndef _DELAY_H
#define _DELAY_H

#include "STC8A.h"
#include "intrins.h"


#define SYS_FREQUENCE   24000000
//#define SYS_FREQUENCE 11059200
//#define SYS_FREQUENCE 22118400


void delay_ms(void);
void Delay_xms(u16 i);
void delay_us(void);
void Delay_xus(u16 i);
#endif